﻿using RabbitMQClientCore;

using System;

namespace rabbit_mq_client
{
    class Program
    {
        static void Main(string[] args)
        {
            RabbitMqClient.SetQueueName("UnitySir");
            RabbitMqClient.SetExChange("");

            for (int i = 0; i < 10; i++)
            {
                RabbitMqClient.SendSimple("你好");
            }


            //for (int i = 0; i < 20; i++)
            //{
            //    RabbitMqClient.SendFanout("中国NB!");

            //}
            Console.ReadKey();
        }
    }
}
